﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Pages.ascx.cs" Inherits="DoAn_BumTruong_DesignPattern.Controls.Pages" %>
<div>
<%--    Page:
    <asp:Label ID="lblCurrentPage" runat="server" Font-Bold="True"></asp:Label>
    <asp:Label ID="Label1" runat="server" Text="of" Font-Bold="True"></asp:Label>
    <asp:Label ID="lblHowManyPages" runat="server" Font-Bold="True"></asp:Label>--%>

    <div class="pages">
        <asp:HyperLink ID="HyperLinkPrevious" runat="server">Previous</asp:HyperLink>

        <asp:Repeater ID="RepeaterPages" runat="server">
            <ItemTemplate>
                <%--  <asp:Label ID="Label2" runat="server" Text="["></asp:Label>--%>
                <asp:HyperLink ID="HyperLinkPages" runat="server" Text='<%#Eval("Page")%>' NavigateUrl='<%#Eval("Url")%>' CssClass='<%#Eval("Url")%>'></asp:HyperLink>
                <%--  <asp:Label ID="Label3" runat="server" Text="]"></asp:Label>--%>
            </ItemTemplate>
        </asp:Repeater>
        <asp:HyperLink ID="HyperLinkNext" runat="server">Next</asp:HyperLink>
    </div>

</div>
